package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
 * 行政区表
 *
 * @author Ai
 */
public class SysArea {

    /** 行政区编号*/
    private Long areaId;

    /** 行政区名称*/
    private String areaName;

    /** 上级行政区编号*/
    private Long parentAreaId;


    public Long getAreaId() {
        return areaId;
    }

    public void setAreaId(Long areaId) {
        this.areaId = areaId;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public Long getParentAreaId() {
        return parentAreaId;
    }

    public void setParentAreaId(Long parentAreaId) {
        this.parentAreaId = parentAreaId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("areaId", areaId)
                .append("areaName", areaName)
                .append("parentAreaId", parentAreaId)
                .toString();
    }
}
